package com.hngm.bean;

public class Newstype {
    private long id;//新闻ID
    private String name;//新闻类型名称
    private long pid;//父类型
    private int sort;//排序
    private String del;//是否删除
    private String creationtime;//创建时间
    private String updatetime;//更新时间
    
	public Newstype(long id, String name) {
		super();
		this.id = id;
		this.name = name;
	}

	public Newstype(long id, String name, long pid, int sort, String del, String creationtime, String updatetime) {
		super();
		this.id = id;
		this.name = name;
		this.pid = pid;
		this.sort = sort;
		this.del = del;
		this.creationtime = creationtime;
		this.updatetime = updatetime;
	}

	public Newstype(long id, String name, long pid, int sort, String creationtime, String updatetime) {
		super();
		this.id = id;
		this.name = name;
		this.pid = pid;
		this.sort = sort;
		this.creationtime = creationtime;
		this.updatetime = updatetime;
	}

	public Newstype() {
		super();
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getPid() {
		return pid;
	}

	public void setPid(long pid) {
		this.pid = pid;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public String getDel() {
		return del;
	}

	public void setDel(String del) {
		this.del = del;
	}

	public String getCreationtime() {
		return creationtime;
	}

	public void setCreationtime(String creationtime) {
		this.creationtime = creationtime;
	}

	public String getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(String updatetime) {
		this.updatetime = updatetime;
	}

	
	
}
